<template>
  <router-link to="/login"></router-link>
  <router-view />
</template>

<script lang="ts" >
  import { defineComponent, reactive, ref, toRefs } from "vue";
  import { useRouter } from "vue-router";
      export default defineComponent({
        setup(){
                //路由

        },
         mounted() {
          // 判断是否登录
        
    
            // router.push("/login");
            
  },
      })
</script>

<style scoped>
*{
  padding: 0px;
  margin: 0px;
}
html,body,#app{
  width: 100%;
  height: 100%;
  margin: 0px !important;
  padding: 0px;
}
</style>